package channel

import (
	"gitee.com/liuxuezhan/ar-platform/assets-rpc/internal/dao/schema"
)

const TableNameTenantChannelBankAgentWithdraw = "tenant_channel_bank_agent_withdraw"

// TenantChannelBankAgent 商户通道【bank_agent】
type TenantChannelBankAgentWithdraw struct {
	schema.Model
	BankCode       string `gorm:"type:varchar(32);not null;comment:银行编码;index"`
	BankName       string `gorm:"type:varchar(32);not null;comment:银行名字"`
	CollectionName string `gorm:"type:varchar(32);not null;comment:三方名字对应withdraw_channel表name字段"`
	Status         int32  `gorm:"type:tinyint;not null;comment:1开启;index"`
}

func (*TenantChannelBankAgentWithdraw) TableName() string {
	return TableNameTenantChannelBankAgentWithdraw
}
